package com.hx.service;

import com.hx.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hx.form.UserLoginForm;
import com.hx.form.UserRegisterForm;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhangyiming
 * @since 2022-03-02
 */
public interface UserService extends IService<User> {
    //用户注册
    User register(UserRegisterForm userRegisterForm);
    //用户登录
    User login(UserLoginForm userLoginForm);
}
